/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.eplatform.modules.sys.entity.officeinfo;

import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.commons.lang3.StringUtils;

import com.eplatform.modules.sys.entity.Office;
import com.eplatform.common.persistence.DataEntity;

/**
 * 协会简介Entity
 * @author H
 * @version 2016-06-20
 */
public class SysOfficeInfo extends DataEntity<SysOfficeInfo> {
	
	private static final long serialVersionUID = 1L;
	private Office office;		// 体育协会
	private String zhuxi;
	private String mishuzhang;
	private String lianxiren;
	private String lianxidianhua;
	private String zhuye;
	public String getZhuxi() {
		return zhuxi;
	}

	public void setZhuxi(String zhuxi) {
		this.zhuxi = zhuxi;
	}

	public String getMishuzhang() {
		return mishuzhang;
	}

	public void setMishuzhang(String mishuzhang) {
		this.mishuzhang = mishuzhang;
	}

	public String getLianxiren() {
		return lianxiren;
	}

	public void setLianxiren(String lianxiren) {
		this.lianxiren = lianxiren;
	}

	public String getLianxidianhua() {
		return lianxidianhua;
	}

	public void setLianxidianhua(String lianxidianhua) {
		this.lianxidianhua = lianxidianhua;
	}

	public String getZhuye() {
		return zhuye;
	}

	public void setZhuye(String zhuye) {
		this.zhuye = zhuye;
	}

	private String introduce;		// 简介
	private String imgs;
	public SysOfficeInfo() {
		super();
	}

	public SysOfficeInfo(String id){
		super(id);
	}

	public Office getOffice() {
		return office;
	}

	public void setOffice(Office office) {
		this.office = office;
	}
	
	public String getIntroduce() {
		return StringEscapeUtils.unescapeHtml4(introduce);
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getImgs() {
		if(StringUtils.isNotBlank(imgs))
		return imgs;
		else
			return "/esite/static/xh/images/abc12.jpg";
	}

	public void setImgs(String imgs) {
		
		this.imgs = imgs;
		
	}
	
}